package electricity.mapper;

import electricity.domain.SysRegion;
import org.apache.ibatis.annotations.Select;

import javax.swing.plaf.synth.Region;
import java.util.List;

/**
* @author haoyi
* @description 针对表【sys_region(区域信息表)】的数据库操作Mapper
* @createDate 2025-07-16 16:16:22
* @Entity electricity.domain.SysRegion
*/
public interface SysRegionMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SysRegion record);

    int insertSelective(SysRegion record);

    SysRegion selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysRegion record);

    int updateByPrimaryKey(SysRegion record);

    @Select("select * from sys_region")
    List<SysRegion> selectAll();
}
